package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对接定时器对象 fac_taskjob
 * 
 * @author rww
 * @date 2024-06-26
 */
public class FacTaskjob extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 任务值 */
    @Excel(name = "任务值")
    private String taskkey;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskname;

    /** 任务执行表达式 */
    @Excel(name = "任务执行表达式")
    private String taskcron;

    /** 开始启动标记(0:手动启动,1:程序运行自启动) */
    @Excel(name = "开始启动标记(0:手动启动,1:程序运行自启动)")
    private String initflag;

    /** 微服务名称 */
    @Excel(name = "微服务名称")
    private String servicekey;

    /** 定时任务对应类 */
    @Excel(name = "定时任务对应类")
    private String taskclass;

    /**
     * 开始标志
     */
    private boolean startFlag;

    public boolean isStartFlag() {
        return startFlag;
    }

    public void setStartFlag(boolean startFlag) {
        this.startFlag = startFlag;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTaskkey(String taskkey) 
    {
        this.taskkey = taskkey;
    }

    public String getTaskkey() 
    {
        return taskkey;
    }
    public void setTaskname(String taskname) 
    {
        this.taskname = taskname;
    }

    public String getTaskname() 
    {
        return taskname;
    }
    public void setTaskcron(String taskcron) 
    {
        this.taskcron = taskcron;
    }

    public String getTaskcron() 
    {
        return taskcron;
    }
    public void setInitflag(String initflag) 
    {
        this.initflag = initflag;
    }

    public String getInitflag() 
    {
        return initflag;
    }
    public void setServicekey(String servicekey) 
    {
        this.servicekey = servicekey;
    }

    public String getServicekey() 
    {
        return servicekey;
    }
    public void setTaskclass(String taskclass) 
    {
        this.taskclass = taskclass;
    }

    public String getTaskclass() 
    {
        return taskclass;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskkey", getTaskkey())
            .append("taskname", getTaskname())
            .append("taskcron", getTaskcron())
            .append("initflag", getInitflag())
            .append("servicekey", getServicekey())
            .append("taskclass", getTaskclass())
            .toString();
    }
}
